<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'software-maint-rates-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'software_platform'); ?>
		<?php echo $form->textField($model,'software_platform',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'software_platform'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'software_product_id_1'); ?>
		<?php echo $form->textField($model,'software_product_id_1',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'software_product_id_1'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'maintenance_rate_1'); ?>
		<?php echo $form->textField($model,'maintenance_rate_1',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'maintenance_rate_1'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'maintenance_rate_price_1'); ?>
		<?php echo $form->textField($model,'maintenance_rate_price_1',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'maintenance_rate_price_1'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'software_id_2'); ?>
		<?php echo $form->textField($model,'software_id_2',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'software_id_2'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'maintenance_rate_2'); ?>
		<?php echo $form->textField($model,'maintenance_rate_2',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'maintenance_rate_2'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'maintenance_rate_cost2'); ?>
		<?php echo $form->textField($model,'maintenance_rate_cost2',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'maintenance_rate_cost2'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'total_maintenance_rate'); ?>
		<?php echo $form->textField($model,'total_maintenance_rate',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'total_maintenance_rate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'total_maintenance_price'); ?>
		<?php echo $form->textField($model,'total_maintenance_price',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'total_maintenance_price'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'coverage'); ?>
		<?php echo $form->textField($model,'coverage',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'coverage'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->